package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account   string `gorm:"type:char(11);not null;comment:'手机号'"`
	Password  string `gorm:"type:char(32);not null;comment:'密码'"`
	UserImage string `gorm:"type:varchar(500);not null;comment:'用户头像'"`
	Info      string `gorm:"type:varchar(50);not null;comment:'简介'"`
	NickName  string `gorm:"type:varchar(50);not null;comment:'用户昵称'"`
}
